import request from "@/utils/request";

export const getNumber = async (data) => {
  return request({
    url: "/lotterys/biz/number-query",
    method: "POST",
    data,
  });
};

export const addNumber = async (data) => {
  return request({
    url: "/lotterys/biz/number-add",
    method: "POST",
    data,
  });
};

export const deleteNumber = async (data) => {
  return request({
    url: "/lotterys/biz/number-delete",
    method: "POST",
    data,
  });
};

export const getNumbers = async (params) => {
  return request({
    url: "/lotterys/biz/number-query-one?id=" + params.id,
    method: "GET",
  });
};

export const addMN = async (data) => {
  return request({
    url: "/lotterys/code-tools/p3d-select-group-mn-add",
    method: "POST",
    data,
  });
};